וַֽיַּעֲמֵד֙ הַשּׁ֣וֹעֲרִ֔ים עַֽל־שַׁעֲרֵ֖י בֵּ֣ית יְהוָ֑ה וְלֹֽא־יָבֹ֥א טָמֵ֖א לְכָל־דָּבָֽר׃
Rashi on II Chronicles
so that no one who was unclean should enter for any matter There were also appointees [whose job it was] not to allow any unclean person to enter the forecourt for any reason.